package org.yscz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: pe
 * @description: 试题表
 * @author: muqs
 * @create: 2021-08-20 10:31
 **/
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "t_question")
public class Question implements Serializable {

    /**
     * 试题ID
     */
    @TableId(value = "question_id", type = IdType.AUTO)
    private Long questionId;

    /**
     * 试题名称
     */
    @TableField(value = "question_name")
    private String questionName;

    /**
     * 试题编号
     */
    @TableField(value = "question_num")
    private Integer questionNum;

    /**
     * 量表ID
     */
    @TableField(value = "scale_id_fk")
    private Long scaleIdFk;
}
